Skip to content

Conversation

Kosinkadink
Copy link
Collaborator

@Kosinkadink Kosinkadink commented Sep 27, 2025

With most of the networking and db code done by @bigcat88 , this PR:

  • Adds db support for 'assets'
  • Adds 'asset' API endpoints
  • Adds an initial fast asset scan upon boot + on every object_info API call

Models are the only thing that will be treated as 'assets' currently. Goal is for the hash + tags to be used in a new Asset widget that will allow workflows to embed the hash of models, so that it will be easy to share workflows and know exactly what model is needed.

As the first step, while this PR does introduce blake3 hashing, it does not actually make use of it since the frontend elements are not ready - so no hashing enabled just yet. When enabled in the future, it will hash just the first time a model is loaded.

ETA: will review with @comfyanonymous on Saturday 9/27 to determine if any changes need to be made to this initial version.

pythongosssss and others added 30 commits June 1, 2025 15:32
bigcat88 and others added 24 commits September 14, 2025 21:53
@Kosinkadink Kosinkadink added the Core Core team dependency label Sep 27, 2025
@bigcat88
Copy link
Contributor

just fyi: CI fails on macOS due to missing greenlet package, maybe it can be added to requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Core team dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants